package com.ruoyi.service.impl;

import java.util.List;

import com.ruoyi.domain.BaseSignalanalysisInfo;
import com.ruoyi.mapper.BaseSignalanalysisInfoMapper;
import com.ruoyi.service.IBaseSignalanalysisInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 信号分析Service业务层处理
 * 
 * @author wangzebing
 * @date 2025-06-23
 */
@Service
public class BaseSignalanalysisInfoServiceImpl implements IBaseSignalanalysisInfoService
{
    @Autowired
    private BaseSignalanalysisInfoMapper baseSignalanalysisInfoMapper;

    /**
     * 查询信号分析
     * 
     * @param id 信号分析主键
     * @return 信号分析
     */
    @Override
    public BaseSignalanalysisInfo selectBaseSignalanalysisInfoById(Long id)
    {
        return baseSignalanalysisInfoMapper.selectBaseSignalanalysisInfoById(id);
    }

    /**
     * 查询信号分析列表
     * 
     * @param baseSignalanalysisInfo 信号分析
     * @return 信号分析
     */
    @Override
    public List<BaseSignalanalysisInfo> selectBaseSignalanalysisInfoList(BaseSignalanalysisInfo baseSignalanalysisInfo)
    {
        return baseSignalanalysisInfoMapper.selectBaseSignalanalysisInfoList(baseSignalanalysisInfo);
    }

    /**
     * 新增信号分析
     * 
     * @param baseSignalanalysisInfo 信号分析
     * @return 结果
     */
    @Override
    public int insertBaseSignalanalysisInfo(BaseSignalanalysisInfo baseSignalanalysisInfo)
    {
        return baseSignalanalysisInfoMapper.insertBaseSignalanalysisInfo(baseSignalanalysisInfo);
    }

    /**
     * 修改信号分析
     * 
     * @param baseSignalanalysisInfo 信号分析
     * @return 结果
     */
    @Override
    public int updateBaseSignalanalysisInfo(BaseSignalanalysisInfo baseSignalanalysisInfo)
    {
        return baseSignalanalysisInfoMapper.updateBaseSignalanalysisInfo(baseSignalanalysisInfo);
    }

    /**
     * 批量删除信号分析
     * 
     * @param ids 需要删除的信号分析主键
     * @return 结果
     */
    @Override
    public int deleteBaseSignalanalysisInfoByIds(Long[] ids)
    {
        return baseSignalanalysisInfoMapper.deleteBaseSignalanalysisInfoByIds(ids);
    }

    /**
     * 删除信号分析信息
     * 
     * @param id 信号分析主键
     * @return 结果
     */
    @Override
    public int deleteBaseSignalanalysisInfoById(Long id)
    {
        return baseSignalanalysisInfoMapper.deleteBaseSignalanalysisInfoById(id);
    }
}
